namespace NGIS.Model
{
	public struct ModelMechanismItem
	{
		public string Name;

		public EMechanismItemType Type;

		public string Value;

		public ModelMechanismItem(string name, EMechanismItemType type, string value)
		{
			Name = name;
			Type = type;
			Value = value;
		}

		public static bool operator ==(ModelMechanismItem itemA, ModelMechanismItem itemB)
		{
			if (itemA.Name == itemB.Name && itemA.Type == itemB.Type && itemA.Value == itemB.Value)
			{
				return true;
			}
			return false;
		}

		public static bool operator !=(ModelMechanismItem itemA, ModelMechanismItem itemB)
		{
			return !(itemA == itemB);
		}
	}
}
